package com.miao.common.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * 顾客信息表(Customer)表实体类
 *
 * @author MiaoWenqing
 * @since 2021-02-02 21:17:56
 */
@SuppressWarnings("serial")
public class Customer extends Model<Customer> {
    // 顾客id
    @TableId(type = IdType.AUTO)
    private Integer cusId;
    //昵称
    private String cusNickname;
    //头像链接
    private String cusAvatar;
    //性别 0 男 1女
    private Boolean cusGender;
    //手机号
    private String cusTel;
    //账号密码
    private String cusPasswd;


    public Integer getCusId() {
        return cusId;
    }

    public void setCusId(Integer cusId) {
        this.cusId = cusId;
    }

    public String getCusNickname() {
        return cusNickname;
    }

    public void setCusNickname(String cusNickname) {
        this.cusNickname = cusNickname;
    }

    public String getCusAvatar() {
        return cusAvatar;
    }

    public void setCusAvatar(String cusAvatar) {
        this.cusAvatar = cusAvatar;
    }

    public Boolean getCusGender() {
        return cusGender;
    }

    public void setCusGender(Boolean cusGender) {
        this.cusGender = cusGender;
    }

    public String getCusTel() {
        return cusTel;
    }

    public void setCusTel(String cusTel) {
        this.cusTel = cusTel;
    }

    public String getCusPasswd() {
        return cusPasswd;
    }

    public void setCusPasswd(String cusPasswd) {
        this.cusPasswd = cusPasswd;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.cusId;
    }
}